package chapter_24_visitor.classic;

/**
 * @author yaochenglong
 * @date 2017/10/24
 */
public class Client {
    public static void main(String[] args) {
        ConcreteElement1 element1 = new ConcreteElement1();
        element1.accept(new ConcreteVisitor1());

        ConcreteElement2 element2 = new ConcreteElement2();
        element2.accept(new ConcreteVisitor1());
    }
}
